package com.aaa.ps.service;

import com.aaa.common.entity.Users;
import org.springframework.stereotype.Component;

/**
 * fileName:UserInfoServiceFallback
 * description:
 *
 * @author:wzl createTime:2020/9/4 20:44
 */
@Component
public class UserInfoServiceFallback implements IUserInfoService {

    @Override
    public Users getByToken(String accessToken) {
       Users users = new Users();
       users.setUserid(10086);
       users.setUsername("远程接口调用失败");

        return users;
    }
}
